#include <stdio.h>
#include "shape.h"
#include "panel.h"

void drawPixel(void *panel, int x, int y, char ch) {
    Panel *p = (Panel *)panel;
    if (x >= 1 && x < p->width - 1 && y >= 1 && y < p->height - 1) {
        p->canvas[y][x] = ch;
    }
}

